#include <algorithm>
#include <vector>
#include <iostream>

int main()
{
    std::vector<int> v({1, 3, 5, 6, 7, 56, 4, 3, 2, 1, 435, 234, 23, 4, 123, 123});
    std::sort(v.begin(), v.end());
    for (const auto & ele : v) {
        std::cout << ele << std::endl;
    }
    return 0;
}
